package com.yu.footballpromotionliveadmin.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CompetitionRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public CompetitionRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCrnoIsNull() {
            addCriterion("crno is null");
            return (Criteria) this;
        }

        public Criteria andCrnoIsNotNull() {
            addCriterion("crno is not null");
            return (Criteria) this;
        }

        public Criteria andCrnoEqualTo(String value) {
            addCriterion("crno =", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoNotEqualTo(String value) {
            addCriterion("crno <>", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoGreaterThan(String value) {
            addCriterion("crno >", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoGreaterThanOrEqualTo(String value) {
            addCriterion("crno >=", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoLessThan(String value) {
            addCriterion("crno <", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoLessThanOrEqualTo(String value) {
            addCriterion("crno <=", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoLike(String value) {
            addCriterion("crno like", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoNotLike(String value) {
            addCriterion("crno not like", value, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoIn(List<String> values) {
            addCriterion("crno in", values, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoNotIn(List<String> values) {
            addCriterion("crno not in", values, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoBetween(String value1, String value2) {
            addCriterion("crno between", value1, value2, "crno");
            return (Criteria) this;
        }

        public Criteria andCrnoNotBetween(String value1, String value2) {
            addCriterion("crno not between", value1, value2, "crno");
            return (Criteria) this;
        }

        public Criteria andCrtimeIsNull() {
            addCriterion("crtime is null");
            return (Criteria) this;
        }

        public Criteria andCrtimeIsNotNull() {
            addCriterion("crtime is not null");
            return (Criteria) this;
        }

        public Criteria andCrtimeEqualTo(Date value) {
            addCriterion("crtime =", value, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeNotEqualTo(Date value) {
            addCriterion("crtime <>", value, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeGreaterThan(Date value) {
            addCriterion("crtime >", value, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("crtime >=", value, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeLessThan(Date value) {
            addCriterion("crtime <", value, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeLessThanOrEqualTo(Date value) {
            addCriterion("crtime <=", value, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeIn(List<Date> values) {
            addCriterion("crtime in", values, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeNotIn(List<Date> values) {
            addCriterion("crtime not in", values, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeBetween(Date value1, Date value2) {
            addCriterion("crtime between", value1, value2, "crtime");
            return (Criteria) this;
        }

        public Criteria andCrtimeNotBetween(Date value1, Date value2) {
            addCriterion("crtime not between", value1, value2, "crtime");
            return (Criteria) this;
        }

        public Criteria andHtnIsNull() {
            addCriterion("htn is null");
            return (Criteria) this;
        }

        public Criteria andHtnIsNotNull() {
            addCriterion("htn is not null");
            return (Criteria) this;
        }

        public Criteria andHtnEqualTo(String value) {
            addCriterion("htn =", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnNotEqualTo(String value) {
            addCriterion("htn <>", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnGreaterThan(String value) {
            addCriterion("htn >", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnGreaterThanOrEqualTo(String value) {
            addCriterion("htn >=", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnLessThan(String value) {
            addCriterion("htn <", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnLessThanOrEqualTo(String value) {
            addCriterion("htn <=", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnLike(String value) {
            addCriterion("htn like", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnNotLike(String value) {
            addCriterion("htn not like", value, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnIn(List<String> values) {
            addCriterion("htn in", values, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnNotIn(List<String> values) {
            addCriterion("htn not in", values, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnBetween(String value1, String value2) {
            addCriterion("htn between", value1, value2, "htn");
            return (Criteria) this;
        }

        public Criteria andHtnNotBetween(String value1, String value2) {
            addCriterion("htn not between", value1, value2, "htn");
            return (Criteria) this;
        }

        public Criteria andTnoIsNull() {
            addCriterion("tno is null");
            return (Criteria) this;
        }

        public Criteria andTnoIsNotNull() {
            addCriterion("tno is not null");
            return (Criteria) this;
        }

        public Criteria andTnoEqualTo(String value) {
            addCriterion("tno =", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotEqualTo(String value) {
            addCriterion("tno <>", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoGreaterThan(String value) {
            addCriterion("tno >", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoGreaterThanOrEqualTo(String value) {
            addCriterion("tno >=", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoLessThan(String value) {
            addCriterion("tno <", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoLessThanOrEqualTo(String value) {
            addCriterion("tno <=", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoLike(String value) {
            addCriterion("tno like", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotLike(String value) {
            addCriterion("tno not like", value, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoIn(List<String> values) {
            addCriterion("tno in", values, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotIn(List<String> values) {
            addCriterion("tno not in", values, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoBetween(String value1, String value2) {
            addCriterion("tno between", value1, value2, "tno");
            return (Criteria) this;
        }

        public Criteria andTnoNotBetween(String value1, String value2) {
            addCriterion("tno not between", value1, value2, "tno");
            return (Criteria) this;
        }

        public Criteria andLbanoIsNull() {
            addCriterion("lbano is null");
            return (Criteria) this;
        }

        public Criteria andLbanoIsNotNull() {
            addCriterion("lbano is not null");
            return (Criteria) this;
        }

        public Criteria andLbanoEqualTo(String value) {
            addCriterion("lbano =", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotEqualTo(String value) {
            addCriterion("lbano <>", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoGreaterThan(String value) {
            addCriterion("lbano >", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoGreaterThanOrEqualTo(String value) {
            addCriterion("lbano >=", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoLessThan(String value) {
            addCriterion("lbano <", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoLessThanOrEqualTo(String value) {
            addCriterion("lbano <=", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoLike(String value) {
            addCriterion("lbano like", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotLike(String value) {
            addCriterion("lbano not like", value, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoIn(List<String> values) {
            addCriterion("lbano in", values, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotIn(List<String> values) {
            addCriterion("lbano not in", values, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoBetween(String value1, String value2) {
            addCriterion("lbano between", value1, value2, "lbano");
            return (Criteria) this;
        }

        public Criteria andLbanoNotBetween(String value1, String value2) {
            addCriterion("lbano not between", value1, value2, "lbano");
            return (Criteria) this;
        }

        public Criteria andRcnoIsNull() {
            addCriterion("rcno is null");
            return (Criteria) this;
        }

        public Criteria andRcnoIsNotNull() {
            addCriterion("rcno is not null");
            return (Criteria) this;
        }

        public Criteria andRcnoEqualTo(String value) {
            addCriterion("rcno =", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoNotEqualTo(String value) {
            addCriterion("rcno <>", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoGreaterThan(String value) {
            addCriterion("rcno >", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoGreaterThanOrEqualTo(String value) {
            addCriterion("rcno >=", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoLessThan(String value) {
            addCriterion("rcno <", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoLessThanOrEqualTo(String value) {
            addCriterion("rcno <=", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoLike(String value) {
            addCriterion("rcno like", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoNotLike(String value) {
            addCriterion("rcno not like", value, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoIn(List<String> values) {
            addCriterion("rcno in", values, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoNotIn(List<String> values) {
            addCriterion("rcno not in", values, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoBetween(String value1, String value2) {
            addCriterion("rcno between", value1, value2, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcnoNotBetween(String value1, String value2) {
            addCriterion("rcno not between", value1, value2, "rcno");
            return (Criteria) this;
        }

        public Criteria andRcetimeIsNull() {
            addCriterion("rcetime is null");
            return (Criteria) this;
        }

        public Criteria andRcetimeIsNotNull() {
            addCriterion("rcetime is not null");
            return (Criteria) this;
        }

        public Criteria andRcetimeEqualTo(Date value) {
            addCriterion("rcetime =", value, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeNotEqualTo(Date value) {
            addCriterion("rcetime <>", value, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeGreaterThan(Date value) {
            addCriterion("rcetime >", value, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("rcetime >=", value, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeLessThan(Date value) {
            addCriterion("rcetime <", value, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeLessThanOrEqualTo(Date value) {
            addCriterion("rcetime <=", value, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeIn(List<Date> values) {
            addCriterion("rcetime in", values, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeNotIn(List<Date> values) {
            addCriterion("rcetime not in", values, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeBetween(Date value1, Date value2) {
            addCriterion("rcetime between", value1, value2, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcetimeNotBetween(Date value1, Date value2) {
            addCriterion("rcetime not between", value1, value2, "rcetime");
            return (Criteria) this;
        }

        public Criteria andRcplaceIsNull() {
            addCriterion("rcplace is null");
            return (Criteria) this;
        }

        public Criteria andRcplaceIsNotNull() {
            addCriterion("rcplace is not null");
            return (Criteria) this;
        }

        public Criteria andRcplaceEqualTo(String value) {
            addCriterion("rcplace =", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceNotEqualTo(String value) {
            addCriterion("rcplace <>", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceGreaterThan(String value) {
            addCriterion("rcplace >", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceGreaterThanOrEqualTo(String value) {
            addCriterion("rcplace >=", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceLessThan(String value) {
            addCriterion("rcplace <", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceLessThanOrEqualTo(String value) {
            addCriterion("rcplace <=", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceLike(String value) {
            addCriterion("rcplace like", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceNotLike(String value) {
            addCriterion("rcplace not like", value, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceIn(List<String> values) {
            addCriterion("rcplace in", values, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceNotIn(List<String> values) {
            addCriterion("rcplace not in", values, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceBetween(String value1, String value2) {
            addCriterion("rcplace between", value1, value2, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcplaceNotBetween(String value1, String value2) {
            addCriterion("rcplace not between", value1, value2, "rcplace");
            return (Criteria) this;
        }

        public Criteria andRcwIsNull() {
            addCriterion("rcw is null");
            return (Criteria) this;
        }

        public Criteria andRcwIsNotNull() {
            addCriterion("rcw is not null");
            return (Criteria) this;
        }

        public Criteria andRcwEqualTo(String value) {
            addCriterion("rcw =", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwNotEqualTo(String value) {
            addCriterion("rcw <>", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwGreaterThan(String value) {
            addCriterion("rcw >", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwGreaterThanOrEqualTo(String value) {
            addCriterion("rcw >=", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwLessThan(String value) {
            addCriterion("rcw <", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwLessThanOrEqualTo(String value) {
            addCriterion("rcw <=", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwLike(String value) {
            addCriterion("rcw like", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwNotLike(String value) {
            addCriterion("rcw not like", value, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwIn(List<String> values) {
            addCriterion("rcw in", values, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwNotIn(List<String> values) {
            addCriterion("rcw not in", values, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwBetween(String value1, String value2) {
            addCriterion("rcw between", value1, value2, "rcw");
            return (Criteria) this;
        }

        public Criteria andRcwNotBetween(String value1, String value2) {
            addCriterion("rcw not between", value1, value2, "rcw");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}